]> dgit.raspbian.org Git - gnome-shell.git/commit
main: Fix syncing animations-enabled
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 17 Mar 2023 00:05:48 +0000 (01:05 +0100)
committerMarge Bot <marge-bot@gnome.org>
Sun, 19 Mar 2023 13:39:41 +0000 (13:39 +0000)
commit2f196f4b0bd5d67943bb163baa9116c6b92d3fc7
tree3295d4a98dceaa3691d08d7b52881c1f0b8b93a1
parent0b8114ba523f2dcf455beb75196e1ef2059a5f3f
main: Fix syncing animations-enabled

Whether or not animations should be enabled depends on various
factors, some of which may change at runtime. We therefore
track changes, and sync the setting by calling inhibit/uninhibit
as necessary.

Except that we never actually record the new state, so when animations
are disabled, we end up inhibiting them every time
the setting is synced, whoops.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2698>
js/ui/main.js